#include "Database.h"
#include <stdlib.h>

int getNumParams(TableID id)
{
    switch(id)
    {
        case TABLE_CORRELATION:
            return CORRELATION_PARAMS;
        case TABLE_CORRELATION_DATA:
            return CORRELATION_DATA_PARAMS;
        case TABLE_EXCHANGE:
            return EXCHANGE_PARAMS;
        case TABLE_STOCK:
            return STOCK_PARAMS;
        case TABLE_STOCK_DATA:
            return STOCK_DATA_PARAMS;
        //case TABLE_STOCK_STATS:
            //return STOCK_STATS_PARAMS;
        default:
            return 0;
    }
}
